<?php
	class cms_appmenu_widget extends Widget 
	{
		public function display($args)
		{
			//$CI =& get_instance();
			//print_r($args);
			
			if($args['menu_name']=="front_menu")
			{
				$this->load->view('widgets/frontmenu');
			}
			else if($args['menu_name']=="setting_menu")
			{
				$this->load->view('widgets/settingmenu');
			}
			else if($args['menu_name']=="member_menu")
			{
				$this->load->view('widgets/membermenu');
			}
		}
	}
?>